package org.wukl.vhr.mapper;

import org.apache.ibatis.annotations.Param;
import org.wukl.vhr.model.HrRole;

public interface HrRoleMapper {
    int deleteByPrimaryKey(Integer id);
    int insert(HrRole record);
    int insertSelective(HrRole record);
    HrRole selectByPrimaryKey(Integer id);
    int updateByPrimaryKeySelective(HrRole record);
    int updateByPrimaryKey(HrRole record);
    void deleteByHrId(Integer hrId);
    int insertHrRoles(@Param("hrId") Integer hrId,@Param("rolesId") Integer[] rolesId);
}